﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json.Linq;

namespace TestJSON
{
    class Program
    {
        static void Main(string[] args)
        {
            string json = @"{
                ListeAmis:[{
                    ""id"" : ""1234"",
                    ""name"" : ""hello"",
                    ""image"" : ""uri""
                },{
                    ""id"" : ""12345"",
                    ""name"" : ""hello2"",
                    ""image"" : ""uri2""
                }] 
            }";

            JObject o = JObject.Parse(json);
            JArray liste = (JArray)o["ListeAmis"];

            Console.WriteLine("dfkdsjfkshdfkjsdfkjdskfjksdjfjd");
            Console.ReadLine();
        }
    }
}
